package com.ruoyi.item.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 在线商品销售对象 item_goodssell
 * 
 * @author ruoyi
 * @date 2022-03-23
 */
public class ItemGoodssell extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long goodsId;

    /** 销售日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sellDate;

    /** 商品线上id */
    @Excel(name = "商品线上id")
    private String goodsOnlineid;

    /** 总流量 */
    @Excel(name = "总流量")
    private Long goodssellNum;

    /** 订单量 */
    @Excel(name = "订单量")
    private Long sdNum;

    /** 订单量1 */
    private Long sdNum1;

    /** 手淘搜索 */
    @Excel(name = "手淘搜索")
    private Long searchsellNum;

    /** 手淘搜索1 */
    private Long searchsellNum1;

    /** 搜索成交 */
    @Excel(name = "搜索成交")
    private Long searchRates;

    /** 真实成交 */
    @Excel(name = "真实成交")
    private Long realPay;

    /** 付费流量 */
    @Excel(name = "付费流量")
    private BigDecimal payFlow;

    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal profit;

    /** 优化 */
    @Excel(name = "优化")
    private String opt;

    /** 假删除 */
    private Integer delFlag;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setSellDate(Date sellDate) 
    {
        this.sellDate = sellDate;
    }

    public Date getSellDate() 
    {
        return sellDate;
    }
    public void setGoodsOnlineid(String goodsOnlineid) 
    {
        this.goodsOnlineid = goodsOnlineid;
    }

    public String getGoodsOnlineid() 
    {
        return goodsOnlineid;
    }
    public void setGoodssellNum(Long goodssellNum) 
    {
        this.goodssellNum = goodssellNum;
    }

    public Long getGoodssellNum() 
    {
        return goodssellNum;
    }
    public void setSdNum(Long sdNum) 
    {
        this.sdNum = sdNum;
    }

    public Long getSdNum() 
    {
        return sdNum;
    }
    public void setSdNum1(Long sdNum1) 
    {
        this.sdNum1 = sdNum1;
    }

    public Long getSdNum1() 
    {
        return sdNum1;
    }
    public void setSearchsellNum(Long searchsellNum) 
    {
        this.searchsellNum = searchsellNum;
    }

    public Long getSearchsellNum() 
    {
        return searchsellNum;
    }
    public void setSearchsellNum1(Long searchsellNum1) 
    {
        this.searchsellNum1 = searchsellNum1;
    }

    public Long getSearchsellNum1() 
    {
        return searchsellNum1;
    }
    public void setSearchRates(Long searchRates) 
    {
        this.searchRates = searchRates;
    }

    public Long getSearchRates() 
    {
        return searchRates;
    }
    public void setRealPay(Long realPay) 
    {
        this.realPay = realPay;
    }

    public Long getRealPay() 
    {
        return realPay;
    }
    public void setPayFlow(BigDecimal payFlow) 
    {
        this.payFlow = payFlow;
    }

    public BigDecimal getPayFlow() 
    {
        return payFlow;
    }
    public void setProfit(BigDecimal profit) 
    {
        this.profit = profit;
    }

    public BigDecimal getProfit() 
    {
        return profit;
    }
    public void setOpt(String opt) 
    {
        this.opt = opt;
    }

    public String getOpt() 
    {
        return opt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("sellDate", getSellDate())
            .append("goodsOnlineid", getGoodsOnlineid())
            .append("goodssellNum", getGoodssellNum())
            .append("sdNum", getSdNum())
            .append("sdNum1", getSdNum1())
            .append("searchsellNum", getSearchsellNum())
            .append("searchsellNum1", getSearchsellNum1())
            .append("searchRates", getSearchRates())
            .append("realPay", getRealPay())
            .append("payFlow", getPayFlow())
            .append("profit", getProfit())
            .append("remark", getRemark())
            .append("opt", getOpt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
